<?php /* Smarty version Smarty-3.1.13, created on 2013-08-20 20:05:36
         compiled from "C:\xampp\htdocs\codigogm\application\view\header.tpl" */ ?>
<?php /*%%SmartyHeaderCode:758351f85096cf5bc9-50400566%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '262caac3dba3ea57fd39173e5a238ecc0b14ac82' => 
    array (
      0 => 'C:\\xampp\\htdocs\\codigogm\\application\\view\\header.tpl',
      1 => 1377021933,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '758351f85096cf5bc9-50400566',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.13',
  'unifunc' => 'content_51f85096d01397_67347255',
  'variables' => 
  array (
    'titulo' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_51f85096d01397_67347255')) {function content_51f85096d01397_67347255($_smarty_tpl) {?><!doctype html>
<html>
<head>
<meta charset="utf-8">
<!-- verificar se a variável css existe -->
<link rel="stylesheet" type="text/css" href="<?php echo @constant('CSS');?>
validationEngine.jquery.css" />
<link rel="stylesheet" type="text/css" href="<?php echo @constant('CSS');?>
style.css" />

<script type="text/javascript" src="<?php echo @constant('JS');?>
jquery-1.8.2.min.js"></script>
<script type="text/javascript" src="<?php echo @constant('JS');?>
jquery.validationEngine.js"></script>
<script type="text/javascript" src="<?php echo @constant('JS');?>
jquery.maskedinput.min.js"></script>
<script type="text/javascript" src="<?php echo @constant('JS');?>
languages/jquery.validationEngine-pt_BR.js"></script>
<script type="text/javascript">
	$(document).ready(function() {
        $('#formLogin').validationEngine();
		$('#formCadastro').validationEngine();
		$('#formContato').validationEngine();
		$('#formEditContato').validationEngine();
		$('#cel').mask('(99) 9999-9999');
		$('#tel').mask('(99) 9999-9999');
    });
</script>
<title><?php echo $_smarty_tpl->tpl_vars['titulo']->value;?>
</title>
</head>

<body>
<div id="container">
 <img src="<?php echo @constant('IMG');?>
sun.png" alt="sunshine" />
 <div id="main">
  <header>
   <div id="logo">
    <div id="logo_text">
     <h1><a href="<?php echo @constant('INDEX');?>
">Código<span class="logo_colour">GM</span></a></h1>
     <h2>Desenvolvimento de Aplicações Web</h2>
    </div><!-- logo_text -->
    <div id="logo_text2">
      <h3>Agenda Virtual</h3>
      <h4>Lista de contatos</h4>
    </div>
   </div><!-- fim div logo -->
   <nav>
    <ul class="sf-menu" id="nav">
     <li><a href="<?php echo @constant('AGENDA');?>
">Minha Agenda</a></li>
<?php if ($_SESSION['logged']==1){?>
	<li><a href="<?php echo @constant('LOGOUT');?>
">Sair</a></li>
    <li><a href="<?php echo @constant('PERFIL');?>
">Meu Perfil</a></li>
<?php }else{ ?>
	<li><a href="<?php echo @constant('LOGIN');?>
">Entrar</a></li>
    <li><a href="<?php echo @constant('CADASTRO');?>
">Cadastrar</a></li>
<?php }?>     
     
    </ul>
   </nav>
  </header><?php }} ?>